﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class batcar : car, ifly
                
    {
        public batcar(string name) : base(name)
        {
            this.Name = name;
        }

        public void fly()
        {
            Console.WriteLine("我是车{0}，我飞的很高", this.Name);
        }
    }
}
